#include <LED.H>

void led_disp(unsigned char adder , enable)
{
	unsigned char temp = 0x00;
	unsigned char temp_old = 0xff;
	
	if(enable)
	temp |= 0X01 << adder;
	else
	temp &= ~(0X01 << adder);
	
	if(temp != temp_old)
	{
		P0 = ~temp;
		P2 = P2&0X1F | 0X80;
		P2 &= 0X1F;
		temp_old = temp;
	
	}







}